c8be46d1a7e420e9c836daa069c93276aaa5274b,portal-impl/src/com/liferay/portal/repository/liferayrepository/LiferayFileSizeValidationLocalRepositoryWrapper.java,LiferayFileSizeValidationLocalRepositoryWrapper,updateFileEntry,#number#number#String#String#String#String#String#boolean#File#ServiceContext#,74

Before Change


			boolean majorVersion, File file, ServiceContext serviceContext)
		throws PortalException {

		DLValidatorUtil.validateFileSize(sourceFileName, file);

		return super.updateFileEntry(
			userId, fileEntryId, sourceFileName, mimeType, title, description,

After Change


			boolean majorVersion, File file, ServiceContext serviceContext)
		throws PortalException {

		if (file != null) {
			DLValidatorUtil.validateFileSize(sourceFileName, file);
		}

		return super.updateFileEntry(